home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
net
/
atcp_tftp.lha
/
amitcp_telnet+ftp
/
ftp
/
readme.ftp
< prev
next >
Wrap
Text File
|
1993-07-31
|
2KB
|
42 lines
If you are already familiar with using FTP, here are the extra options
which have been added to this port. If you are unfamiliar with FTP, read
the manual "ftp.man" included with this archive. The source has been
compiled successfully with SAS-C with AMITCP. It should, however, also
work with Aztec C and AS225R2 (for which the orignal port was done).
ftp <address> -L<filename> -U<uldir> -D<dldir> -H (plus standard options).
-L specifies a filename which to log byte counts and sites which have been
connected to. There must be no space between the 'L' and the filename. The
format of this file is simply the name of the site connected to, and the
number of bytes transferred.
-U specifies an "upload" directory. This is the directory which files are
read from when using the 'put' command.
-D specifies a "download" directory. This is the directory which files are
written to when using the 'get' command.
-H turns hashing on by default.
If these options are not specified, the current directory is used, and no
logging takes place.
When viewing a file, ftp downloads the file as ".temp" and views it with
'more'. If you wish to use a different command (eg type), set this in the
environment variable PAGER. Also, the previous directory listing or file
retrieved to stdout can be viewed again with the '!' command. [There is no
shell escape command].
The mget and mput commands have also been disabled. Most of the file
globbing has been disabled. Also, all get and put commands work in the
current directory only, even if a local file is specified with a path.
Obviously allowing BBS users to write to any directory was not considered
a desirable feature. If you wish to change this behaviour back, look for
calls to "basename()" in ftp.c.
This version of FTP can be used on a BBS by constructing scripts which
allow the user to upload and download from appropriate directories. Log
files can be kept for later charging. The pager command can be set to
something which is compatible with the BBS which is being used.